package com.my.zl.console.service.autocode;

import com.my.zl.common.dto.ReqDTO;
import com.my.zl.common.dto.advancedQuery.PageQueryDTO;
import com.my.zl.console.entity.autocode.ZlTableColumn;
import com.my.zl.console.dto.autocode.tableColumn.ReqTableColumnAddDTO;
import com.my.zl.console.dto.autocode.tableColumn.ReqTableColumnDelDTO;
import com.my.zl.console.dto.autocode.tableColumn.ReqTableColumnEditDTO;
import com.my.zl.console.dto.autocode.tableColumn.ReqTableColumnQueryDTO;
import com.my.zl.console.dto.autocode.tableColumn.ReqTableColumnDetailDTO;
import com.my.zl.console.dto.autocode.tableColumn.ReqTableColumnStateDTO;
import com.my.zl.console.dto.autocode.tableColumn.ResTableColumnAddDTO;
import com.my.zl.console.dto.autocode.tableColumn.ResTableColumnDelDTO;
import com.my.zl.console.dto.autocode.tableColumn.ResTableColumnEditDTO;
import com.my.zl.console.dto.autocode.tableColumn.ResTableColumnQueryDTO;
import com.my.zl.console.dto.autocode.tableColumn.ResTableColumnDetailDTO;
import com.my.zl.console.dto.autocode.tableColumn.ResTableColumnStateDTO;

/**
 * 数据库表属性信息
 * @author ZL
 */
public interface ITableColumnService {

    /**
     * 查询
     */
    ResTableColumnQueryDTO queryTableColumnList(ReqTableColumnQueryDTO reqInfo,PageQueryDTO page) throws Exception;
    
    /**
     * 详情
     */
    ResTableColumnDetailDTO queryTableColumnDetail(ReqTableColumnDetailDTO reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResTableColumnAddDTO insertTableColumnInfo(ReqDTO<ReqTableColumnAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResTableColumnEditDTO updateTableColumnInfo(ReqDTO<ReqTableColumnEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResTableColumnDelDTO deleteTableColumnInfo(ReqDTO<ReqTableColumnDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResTableColumnStateDTO updateTableColumnState(ReqDTO<ReqTableColumnStateDTO> reqInfo) throws Exception;
    
    
}